import Vue from 'vue'
import Router from 'vue-router'
import Home from '@/components/Home'
import Shequ from '@/components/Shequ'
import Zhuanti from '@/components/Zhuanti'
import Meishi from '@/components/Meishi'
import Changjing from '@/components/Changjing'
import Huodong from '@/components/Huodong'
import Rumen from '@/components/Rumen'
import Shicai from '@/components/Shicai'
import Lfood from '@/components/Lfood'
import Lhealth from '@/components/Lhealth'
import Ltaiwan from '@/components/Ltaiwan'
import Lsearch from '@/components/Lsearch'
import Login from '@/components/Login'
import Choose from '@/components/Choose'
import Dispose from '@/components/Dispose'
import Hand from '@/components/Hand'
import Cookie from '@/components/Cookie'
import Amazing from '@/components/Amazing'
import Bj from '@/components/Bj'
import Lcaipu from '@/components/Lcaipu'
import Lshicai from '@/components/Lshicai'
import Lcyshicai from '@/components/Lcyshicai'
import zhuantiEji from '@/components/zhuantiEji'
import shequEji from '@/components/shequEji'
import Homess from '@/components/Homess'
import xiawucha from '@/components/xiawucha'
import Register from '@/components/register'
import LoginSuccess from '@/components/LoginSuccess'
import shiping from '@/components/shiping'
import gZuofa from '@/components/gZuofa'
import gShicai from '@/components/gShicai'
import gXiangguan from '@/components/gXiangguan'
import gXiangyi from '@/components/gXiangyi'
import Shoucang from '@/components/Shoucang'

Vue.use(Router)


export default new Router({
  routes: [
    {
      path: '/',
      component: Home
    },
    {
      path: '/Shequ',
      component: Shequ
    },
    {
      path: '/Zhuanti',
      name: 'Zhuanti',
      component: Zhuanti
    },
     {
      path: '/Meishi',
      component: Meishi,
      children: [{
      	path : 'Lfood',
      	component : Lfood
      },{path : 'Lhealth',
      	component : Lhealth
      },{path : 'Ltaiwan',
      	component : Ltaiwan
      }]
    },
     {
      path: '/Changjing',
      component: Changjing,
    },
     {
      path: '/Huodong',
      component: Huodong
    },
     {
      path: '/Rumen',
      component: Rumen,
      children: [{
        path : 'Choose',
        component : Choose
      },
      {
        path : 'Dispose',
        component : Dispose
      },
      {
        path : 'Hand',
        component : Hand
      },
      {
        path : 'Cookie',
        component: Cookie
      },
      {
        path : 'Amazing',
        component : Amazing
      },
      {
        path : 'Bj',
        component : Bj
      }]
    },
     {
      path: '/Shicai',
      component: Shicai,
      children: [{
      	path : 'Lcaipu',
      	component : Lcaipu
      },{path : 'Lshicai',
      	component : Lshicai
      }]
    },{
      path: '/Lsearch',
      component: Lsearch
    },
    {
    	path: '/Lcyshicai',
    	component: Lcyshicai
    },
    {
     path: '/Login',
     component: Login
    },
    {
     path: '/zhuantiEji',
     component: zhuantiEji
    },
    {
     path: '/shequEji',
     component: shequEji
    },
    {
     path: '/Homess',
     component: Homess
    },
    {
     path: '/xiawucha',
     component: xiawucha
    },
    {
     path: '/Register',
     component: Register
    },
    {
     path: '/LoginSuccess',
     component: LoginSuccess
    },
    {
    	path:'/Shoucang',
     	component:Shoucang
    },
    	{
    	path:'/shiping',
    	component:shiping,
    	 children: [{
      	path : 'gZuofa',
      	component : gZuofa
      },{path : 'gShicai',
      	component : gShicai
      },{path : 'gXiangguan',
      	component : gXiangguan
      },{path : 'gXiangyi',
      	component : gXiangyi
      }]
    },
  ]
})
